﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DapperExtensions.Mapper;

namespace SAM.Framework.RepositoryTest.Mapping
{
    public sealed class ProductMap:ClassMapper<Entities.Product>
    {
        public ProductMap()
        {
            Table("product");
            Map(x => x.Id).Key(KeyType.Assigned);
            AutoMap();
        }
    }
}
